package cn.com.dhcc.ddi.task.vo;

import cn.com.dhcc.app.core.annotation.SiColumn;
import cn.com.dhcc.app.core.annotation.SiTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;

import java.util.Date;

/**
 * ETL任务-交换数据表日志
 *
 * @日期：2016/11/15 11:00
 * @作者：张洪涛
 * @版权所有：东华软件
 * @版本：1.0
 */
@SiTable(name = "t_ddi_task_tab_log")
public class TableLog extends ModuleFeatureBean{
    @SiColumn(isId = true)
    private String id;

    @SiColumn(name = "task_id")
    private String taskId;//任务id

    @SiColumn(name = "table_name")
    private String tableName;//表名称

    private String lastValue;//上次同步成功的增量值

    @SiColumn(name = "temp_lastvalue")
    private String tempLastValue;//本次同步的临时增量值

    private Date mtime; //最后修改时间

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getLastValue() {
        return lastValue;
    }

    public void setLastValue(String lastValue) {
        this.lastValue = lastValue;
    }

    public String getTempLastValue() {
        return tempLastValue;
    }

    public void setTempLastValue(String tempLastValue) {
        this.tempLastValue = tempLastValue;
    }

    public Date getMtime() {
        return mtime;
    }

    public void setMtime(Date mtime) {
        this.mtime = mtime;
    }
}
